package com.hnust.service;

import com.hnust.domain.Student;
import com.hnust.domain.Teacher;
import com.hnust.domain.record.AddOneTeacher;
import com.hnust.domain.record.SearchTeacherInfo;
import com.hnust.domain.record.SimpleTeacherInfo;
import com.hnust.domain.record.TeacherInfo;

import java.util.List;

/**
 * 创建人：张汝往
 * 创建时间：2020/10/6
 * 描述：
 */
public interface TeacherService {

    //根据条件搜索老师信息
    List<SimpleTeacherInfo> searchSimpleTeacherInfo(String collegeId, SearchTeacherInfo searchTeacherInfo);

    //获取老师详细信息
    TeacherInfo getTeacherInfo(String teacherId);

    //删除老师
    Boolean deleteTeacher(String teacherId);

    //批量删除老师
    Boolean massDeleteTeacher(List<String> teacherIds);

    //修改老师信息
    Boolean modifyTeacher(TeacherInfo teacherInfo);

    // 添加一个老师
    Boolean addOneTeacher(AddOneTeacher teacherInfo, String colId);

    //批量存储教师
    Boolean addTeachers(List<Teacher> teachers, String collegeId) throws Exception;
}
